<%--
  Created by IntelliJ IDEA.
  User: xiong
  Date: 2020/7/14
  Time: 16:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>更细书籍的对话框</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <script src="layui/layui.js"></script>
    <script src="layui/jquery-3.5.1.min.js"></script>
</head>
<body>
<form method="post" action="/book/updateBook">
    <table>
        <tr>
            <input hidden="hidden" value="${currentBook.id}" name="id">
            <td>输入书籍编号</td>
            <td><input type="text" placeholder="书籍编号" name="bno" value="${currentBook.bno}" hidden></td>
        </tr>
        <tr>
            <td>出版社</td>
            <td><input type="text" placeholder="输入书籍出版社" name="press" value="${currentBook.press}"></td>
        </tr>
        <tr>
            <td>作者</td>
            <td><input type="text" placeholder="输入书籍作者" name="author"value="${currentBook.author}"></td>
        </tr>
        <tr>
            <td>名称</td>
            <td><input type="text" placeholder="输入书籍名称" name="bname"value="${currentBook.bname}"></td>
        </tr>
        <tr>
            <td>售价</td>
            <td><input type="text" placeholder="输入书籍售价" name="price"value="${currentBook.price}"></td>
        </tr>
        <tr>
            <td>书籍分类ID</td>
            <td><input type="text" placeholder="输入书籍分类ID" name="type"value="${currentBook.typeid}"></td>
        </tr>
        <tr>
            <td>
                <button type="submit">更新信息</button>
            </td>
            <td>
                <button>删除所有</button>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
